package com.ghpt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("planc")
public class PlanC {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private int value;
    private int die;
    private int way;

    public PlanC(int way, int die, int value, Integer id) {
        this.way = way;
        this.die = die;
        this.value = value;
        this.id = id;
    }

    @Override
    public String toString() {
        return "PlanC{" +
                "id=" + id +
                ", value=" + value +
                ", die=" + die +
                ", way=" + way +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public int getDie() {
        return die;
    }

    public void setDie(int die) {
        this.die = die;
    }

    public int getWay() {
        return way;
    }

    public void setWay(int way) {
        this.way = way;
    }
}